﻿@model JewererBasic.COMPONENT    
<table>    
    <tr>
        <td>
            <div>
                <strong>Component</strong>
            </div>
            @Html.TextBoxFor(model => model.Id,new {style = "width:100px;"})
        </td>
        <td>
            <div>
                <strong>Name</strong>
            </div>
            @Html.TextBoxFor(model => model.Name,new {style = "width:100px;"})
            @Html.ValidationMessageFor(model => model.Name)
        </td>
         <td>
            <div>
                <strong>Description</strong>
            </div>
            @Html.TextBoxFor(model => model.Decription,new {style = "width:100px;"})
            @Html.ValidationMessageFor(model => model.Decription)
        </td>
        <td>%
            <div>
                <strong>Type</strong>
            </div>
            @Html.DropDownListFor(model => model.IdType, ViewBag.IdType as SelectList)                        
        </td>
        <td>
            <div>
                <strong>Unit</strong>
            </div>
            @Html.DropDownListFor(model => model.IdUnit, ViewBag.IdUnit as SelectList)                        
        </td>
    </tr>
</table>